/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;

/**
 * 订单退款表实体类
 *
 * @author Blade
 * @since 2024-09-10
 */
@Data
@TableName("yf_order_refund")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "订单退款表")
public class OrderRefund extends BaseEntity {

    @Serial
	private static final long serialVersionUID = 1L;

    /**
     * 创建用户名
     */
    @Schema(description = "创建用户名")
    private String createUserName;
    /**
     * orderId
     */
    @Schema(description = "orderId")
    private Long orderId;
    /**
     * 商家内部订单号
     */
    @Schema(description = "商家内部订单号")
    private String outTradeNo;
    /**
     * 退款原因
     */
    @Schema(description = "退款原因")
    private String reason;
    /**
     * 退款价格
     */
    @Schema(description = "退款价格")
    private BigDecimal refundPrice;
    /**
     * 退款编号
     */
    @Schema(description = "退款编号")
    private String refundNum;
	/**
	 * 延迟费用
	 */
	@Schema(description = "延迟费用")
	private BigDecimal delayAmount;
	/**
	 * 损坏费用
	 */
	@Schema(description = "损坏费用")
	private BigDecimal destroyAmount;
}
